package com.ktgj.service.mapper;

import java.util.List;
import com.ktgj.service.domain.KtserviceViphallTag;

/**
 * 贵宾厅标签Mapper接口
 *
 * @author ruoyi
 * @date 2021-09-03
 */
public interface KtserviceViphallTagMapper
{
    /**
     * 查询贵宾厅标签*
     * @param tagId 贵宾厅标签ID
     * @return 贵宾厅标签*/
    public KtserviceViphallTag selectKtserviceViphallTagById(Long tagId);

    /**
     * 查询贵宾厅标签列表
     *
     * @param KtserviceViphallTag 贵宾厅标签* @return 贵宾厅标签集合
     */
    public List<KtserviceViphallTag> selectKtserviceViphallTagList(KtserviceViphallTag KtserviceViphallTag);

    /**
     * 新增贵宾厅标签*
     * @param KtserviceViphallTag 贵宾厅标签* @return 结果
     */
    public int insertKtserviceViphallTag(KtserviceViphallTag KtserviceViphallTag);

    /**
     * 修改贵宾厅标签*
     * @param KtserviceViphallTag 贵宾厅标签* @return 结果
     */
    public int updateKtserviceViphallTag(KtserviceViphallTag KtserviceViphallTag);

    /**
     * 删除贵宾厅标签*
     * @param tagId 贵宾厅标签ID
     * @return 结果
     */
    public int deleteKtserviceViphallTagById(Long tagId);

    /**
     * 批量删除贵宾厅标签*
     * @param tagIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteKtserviceViphallTagByIds(Long[] tagIds);

    /**
     * 贵宾厅标签排序号升序操作
     */
    public int updateKtserviceViphallTagByTagsort(Long tagId);

    /**
     * 贵宾厅标签排序号降序操作
     */
    public int updateKtserviceViphallTagByTagsorts(Long tagId);

    /**
     * 名称查列表数据
     * */
    public List<KtserviceViphallTag> selectViphallTag(String tagName);
}
